﻿using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using Turquoise.Core.Abstract;

namespace Turquoise.Providers.Abstract
{
    public interface IRepository<T> where T : class, IEntity, new()
    {
        List<T> GetList();
        List<T> GetList(Expression<Func<T, bool>> whereExpression);
    }
}
